﻿using Bricks.Unity.Injecting;
using Motar.Web.Caching;

namespace Motar.Web.UnityExtensions
{
    
    /// <summary>
    /// 
    /// </summary>
    public class HttpApplicationLifetimeManager : CachedLifetimeManager
    {

        /// <summary>
        /// 
        /// </summary>
        /// <param name="httpApplicationCacheFacade"></param>
        public HttpApplicationLifetimeManager(IHttpApplicationCacheFacade httpApplicationCacheFacade) :
            base(httpApplicationCacheFacade)
        {
        }

        /// <summary>
        /// 
        /// </summary>
        public HttpApplicationLifetimeManager() :
            this(new HttpApplicationCacheFacade())
        {
        }
    }
}
